const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  // 建立用户名 映射 用户名
  username: state => state.user.userinfo.username,
  userId: state => state.user.userinfo.userId,
  staffPhoto: state => state.user.userinfo.staffPhoto
  // avatar: state => state.user.avatar,
  // name: state => state.user.name
}
export default getters
